import ajax from "@/utils/request";
import '../mock/mock'

export function getgameList() {
    return ajax({
        url: '/api/getgameList',
        method: 'post',
    })

}

export function getinformationarr() {
    return ajax({
        url: '/api/getinformationarr',
        method: 'post',
    })
}

export function getinfoarr() {
    return ajax({
        url: '/api/getinfoarr',
        method: 'post',
    })
}


export function getseach(data?:string) {
    return ajax({
        url: '/api/seach',
        method: 'post',
        data
    })
}



